from django.shortcuts import render

from contract.model.post import Post


# Create your views here.
def post_list(request):
    posts = Post.objects.filter(is_expire=0)
    return render(request,'contract/list.html',{'posts':posts})